package net.oschina.allchat.protocol.core.stream.error;

import net.oschina.allchat.protocol.core.LangText;

public class MessageNotWellFormed extends StreamError {
	public MessageNotWellFormed() {
		this(null);
	}
	
	public MessageNotWellFormed(String text) {
		super("message-not-well-formed");
		if (text != null) {
			setText(new LangText(text));
		}
	}
}
